package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the YZR_STOREHOUSE database table.
 * 
 */
@Entity
@Table(name="YZR_STOREHOUSE")
@NamedQuery(name="YzrStorehouse.findAll", query="SELECT y FROM YzrStorehouse y")
public class YzrStorehouse implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	/*@SequenceGenerator(allocationSize=1,name="YZR_STOREHOUSE_STOREID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="YZR_STOREHOUSE_STOREID_GENERATOR")*/
	@Column(name="STORE_ID")
	private String storeId;

	@Column(name="STORE_ADDRESS")
	private String storeAddress;

	@Column(name="STORE_AREA")
	private String storeArea;

	@Column(name="STORE_CHARGEPERSON")
	private BigDecimal storeChargeperson;

	@Column(name="STORE_KIND")
	private String storeKind;

	@Column(name="STORE_NAME")
	private String storeName;

	public YzrStorehouse() {
	}

	public YzrStorehouse(String storeId, String storeAddress, String storeArea, BigDecimal storeChargeperson,
			String storeKind, String storeName) {
		super();
		this.storeId = storeId;
		this.storeAddress = storeAddress;
		this.storeArea = storeArea;
		this.storeChargeperson = storeChargeperson;
		this.storeKind = storeKind;
		this.storeName = storeName;
	}

	public String getStoreId() {
		return this.storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getStoreAddress() {
		return this.storeAddress;
	}

	public void setStoreAddress(String storeAddress) {
		this.storeAddress = storeAddress;
	}

	public String getStoreArea() {
		return this.storeArea;
	}

	public void setStoreArea(String storeArea) {
		this.storeArea = storeArea;
	}

	public BigDecimal getStoreChargeperson() {
		return this.storeChargeperson;
	}

	public void setStoreChargeperson(BigDecimal storeChargeperson) {
		this.storeChargeperson = storeChargeperson;
	}

	public String getStoreKind() {
		return this.storeKind;
	}

	public void setStoreKind(String storeKind) {
		this.storeKind = storeKind;
	}

	public String getStoreName() {
		return this.storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

}